projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
575d0ea
)
inspector: Avoid a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 20 May 2014 13:45:50 +0000
(09:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 20 May 2014 13:54:01 +0000
(09:54 -0400)
...and a pointless cast, too.
gtk/inspector/prop-list.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/prop-list.c
b/gtk/inspector/prop-list.c
index ad5dffeae278ab144e4c08e45cbe89281780f30e..0c9b3b1bfa5723d7947122768198ee6623e300fc 100644
(file)
--- a/
gtk/inspector/prop-list.c
+++ b/
gtk/inspector/prop-list.c
@@
-242,7
+242,7
@@
gtk_inspector_prop_list_update_prop (GtkInspectorPropList *pl,
if (GTK_IS_CELL_RENDERER (pl->priv->object))
{
gpointer *layout;
-
gpointer
*area;
+
GtkCellArea
*area;
gint column = -1;
area = NULL;
@@
-250,7
+250,7
@@
gtk_inspector_prop_list_update_prop (GtkInspectorPropList *pl,
if (layout)
area = gtk_cell_layout_get_area (GTK_CELL_LAYOUT (layout));
if (area)
- column = gtk_cell_area_attribute_get_column (
GTK_CELL_AREA (area)
,
+ column = gtk_cell_area_attribute_get_column (
area
,
GTK_CELL_RENDERER (pl->priv->object),
prop->name);